<?php

$external_config_file = '../config.pdmirs.php';

if (file_exists($external_config_file)) {
/* Developers (anders/pk)'s server, use local config */ 
echo "<!-- External config file detected, using {$external_config_file} for config -->";
    include($external_config_file);
} else {
echo "<!-- Using default config (config.php) -->";

/* Path config */ 
$p->set('basepath', '/path/to/pdmirs/'); # Path to pdmirs w/ ending slash ( / )

/* Language config */
$p->set('lang', 'en-us'); /* en-us, or no-nb*/

/* Adodb config */ 
$p->set('adodb_db_type', 'mysql'); # /mysql/sqlite/etc.
$p->set('adodb_debug', true);
$p->set('adodb_server', 'localhost');
$p->set('adodb_user', 'your_database_username');
$p->set('adodb_password', 'your_database_password');
$p->set('adodb_database', 'your_database_name');
$p->set('adodb_table_prefix', 'your_database_pdmirs_table_prefix'); # Ex: pdmirs_

/* Force users to adopt config */
$p->set('config_modified', false);
/* Set this to true when you have configured database etc. */

}

?>

